package com.itheima.demo.demo09;


import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class InPut1 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis=new FileInputStream("D:\\fis.txt");
        int b=0;
        while ((b=fis.read())!=-1){
            System.out.println((char) b);
        }
        System.out.println("==============");

    }
}
